package com.base.component.app.push.apns;

import org.springframework.stereotype.Component;

import com.base.component.app.push.bo.PushListBO;
import com.base.core.head.enums.PushPlatformEnum;

/**
 * 
 * @author start
 */
@Component
public class ApnsConnectList extends ApnsConnectBase<PushListBO> {

	@Override
	public Boolean support(PushPlatformEnum platform,Class<?> prorotype) {
		return PushPlatformEnum.APNS==platform
				&&prorotype.equals(PushListBO.class);
	}
	
	@Override
	public void execute(PushListBO param) {
		push(param);
	}
	
}
